﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FileStreamsAndCrypto
{
    class Student
    {
        private string firstName;
        private string lastName;
        private int fNumber;

        public Student(string firstName, string lastName, int fNumber)
        {
            this.firstName = firstName;
            this.lastName = lastName;
            this.fNumber = fNumber;
        }

        public string FirstName
        {
            get
            {
                return firstName;
            }
            set
            {
                firstName = value;
            }
        }

        public string LastName
        {
            get
            {
                return lastName;
            }
            set
            {
                lastName = value;
            }
        }

        public int FNumber
        {
            get
            {
                return fNumber;
            }
            set
            {
                fNumber = value;
            }
        }

        public override string ToString()
        {
            return firstName + " " + lastName + " " + fNumber.ToString();
        }
    }
}
